package com.blb.proxy;

/**
 * @author lvtian
 * @date 2022/12/28 9:17
 */
public class CellphoneTest {
    public static void main(String[] args) {
        CellphoneFactory factory = new CellphoneFactory();
        factory.sellCellPhone("华为13Promax");

        //创建代理者
        CellphoneSale shop = new CellphoneShop(factory);
        shop.sellCellPhone("苹果荣耀");
    }
}
